{if IS_USE_MODULE}
<div class="portlet portlet-sortable light bordered">
    <div class="portlet-title tabbable-line">
        <div class="caption">
            <i class="fa fa-bar-chart"></i>
            <span class="caption-subject"> {dr_lang('圈子统计')} </span>
        </div>
    </div>
    <div class="portlet-body">
        
        {count action=module module=quan return=quan} 
        {count action=module module=quan DAY_inputtime=0 return=quanjintian} 
        {count action=module module=quan fstatus=0 return=quanshenhe} 
        
        {count action=table table=1_quan_form_son return=quantie}
        {count action=table table=1_quan_form_son DAY_inputtime=0 return=quantiejintian}
        {count action=table table=1_quan_form_son shenhe=0 return=quantieshenhe}
        <div class="table-scrollable">
            <table class="table table-mtotal table-nomargin table-bordered table-striped table-bordered table-advance">
                <thead>
                <tr>
                    <th>{dr_lang('模块')}</th>
                    <th style="text-align: center">{dr_lang('总数据')}</th>
                    <th style="text-align: center">{dr_lang('今日')}</th>
                    <th style="text-align: center">{dr_lang('待审核')}</th>
                    
                    <th>{dr_lang('操作')}</th>
                </tr>
                </thead>
                <tbody>
                
                <tr>
                    <td>圈子</td>

                    <td style="text-align: center"><a class="drlabel drlabel-success" href="{dr_url('quan/home/index')}">{$quan_count}</a></td>
                    <td style="text-align: center"><a class="drlabel drlabel-success" href="{dr_url('quan/home/index')}">{$quanjintian_count}</a></td>
                    <td style="text-align: center"><a class="drlabel drlabel-success" href="{dr_url('quan/home/index',['field'=>'fstatus','keyword'=>'2'])}">{$quanshenhe_count}</a></td>
                    <td>
                        <a class="btn btn-xs dark" href="{dr_url('quan/home/index')}" >{dr_lang('管理')}</a>
                        <a class="btn btn-xs blue" href="{dr_url('quan/home/add')}" >{dr_lang('添加圈')}</a>
                    </td>
                </tr>
                <tr>
                    <td>圈贴</td>

                    <td style="text-align: center"><a class="drlabel drlabel-success" href="{dr_url('quan/son/index',['cid'=>'0'])}">{$quantie_count}</a></td>
                    <td style="text-align: center"><a class="drlabel drlabel-success" href="{dr_url('quan/son/index',['cid'=>'0'])}">{$quantiejintian_count}</a></td>
                    <td style="text-align: center"><a class="drlabel drlabel-success" href="{dr_url('quan/son/index',['cid'=>'0','field'=>'shenhe','keyword'=>'0'])}">{$quantieshenhe_count}</a></td>
                    <td>
                        <a class="btn btn-xs dark" href="{dr_url('quan/son/index',['cid'=>'0'])}" >{dr_lang('管理')}</a>
                        
                    </td>
                </tr>
                
                
                </tbody>
            </table>

        </div>
    </div>
</div>
{/if}